package com.xc.hotelmgr.consumermq.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xc.hotelmgr.consumermq.pojo.mq.HistStoreOurPlanRP;
import com.xc.hotelmgr.consumermq.pojo.mybatis.OpRPGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OpRpGroupMapper extends BaseMapper<OpRPGroup> {


    List<OpRPGroup> selectByStoreHotel(@Param("storeId") Integer storeId, @Param("hotelId") Long hotelId);

    List<HistStoreOurPlanRP> selectHchsoByHotelId(@Param("hotelId") Long hotelId);

    List<Long> selectByHotelId(@Param("hotelId") Long hotelId);

    List<HistStoreOurPlanRP> selectByStoreHotelId(@Param("storeId") Integer storeId, @Param("hotelId") Long hotelId);
}